{% extends "base.html" %}

{% block title %}用户注册{% endblock %}

{% block content %}
<div class="auth-form">
    <h2>新用户注册</h2>
    <form action="{{ url_for('register') }}" method="post">
        <div class="form-group">
            <label>用户名：</label>
            <input type="text" name="username" required>
        </div>
        <div class="form-group">
            <label>密码：</label>
            <input type="password" name="password" required>
        </div>
        <div class="form-group">
            <label>确认密码：</label>
            <input type="password" name="confirm_password" required>
        </div>
        <button type="submit">立即注册</button>
    </form>
</div>
{% endblock %}
